package redis_help

import (
	"fmt"
	"strings"
)

func Join(args ...any) string {
	s := make([]string, len(args))
	for i := 0; i < len(args); i++ {
		s[i] = "%v"
	}
	ss := strings.Join(s, ":")
	return fmt.Sprintf(ss, args...)
}

func Split(s string) []string {
	return strings.Split(s, ":")
}
